class CreateContacts < ActiveRecord::Migration
  def self.up
    create_table :contacts do |t|
      t.column  :name,  :string
      t.column  :contact, :string
      t.column  :user_id, :integer
      t.column  :event_id, :integer
      t.column  :confirm, :boolean
      t.column :created_at, :datetime
      t.column :updated_at, :datetime
    end
  end

  def self.down
    drop_table :contacts
  end
end
